package com.hsteach.web.controller.calendar.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "CalendarDay", description = "周行事历")
@Data
public class CalendarDayVo implements Serializable {

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "日期", required = true)
    private Date day;

    @ApiModelProperty(value = "月份", required = true)
    private String month;

    @ApiModelProperty(value = "号数", required = true)
    private String dayOfMonth;

    @ApiModelProperty(value = "是否假期", required = true)
    private Boolean holiday;

    @ApiModelProperty(value = "假期名", required = true)
    private String holidayName;

    @ApiModelProperty(value = "星期几", required = true)
    private Integer dayOfWeek;

    @ApiModelProperty(value = "星期几名", required = true)
    private String dayOfWeekName;

    @ApiModelProperty(value = "是否当前日", required = true)
    private boolean curFlg;

//    @ApiModelProperty(value = "第几周名", required = true)
//    private String weekName;
}
